/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */
.header {
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  flex-shrink: 0;
  padding: 24px;
  padding-right: 20px;

  &.noPadding {
    padding: 0px;
  }
}

.headerTitleContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 24px;
  padding-right: 4px;
  overflow: hidden;
}

.headerTitle {
  composes: theme-typography--headline6 from global;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iconContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  &.bigIcon {
    width: 40px;
    height: 40px;
  }
}

.subTitle {
  composes: theme-typography--caption from global;
  grid-column: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
